Total Complexity | 84 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 720 |
Lines of code | 306 |
Logical lines of code | 170 |
Comment lines | 293 |
Methods | 39 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle() | 45 | 15 | 41 | |
get_batches() | 46 | 6 | 42 | |
maybe_handle() | 56 | 5 | 22 | |
get_memory_limit() | 62 | 4 | 11 | |
schedule_cron_healthcheck() | 57 | 3 | 16 | |
is_active() | 78 | 4 | 3 | |
handle_cron_healthcheck() | 66 | 3 | 10 | |
dispatch() | 70 | 2 | 7 | |
memory_exceeded() | 64 | 2 | 9 | |
time_exceeded() | 66 | 2 | 8 | |
is_paused() | 68 | 2 | 7 | |
lock_process() | 68 | 2 | 6 | |
is_cancelled() | 68 | 2 | 7 | |
schedule_event() | 73 | 2 | 5 | |
delete_all() | 67 | 2 | 8 | |
clear_scheduled_event() | 71 | 2 | 6 | |
update() | 71 | 2 | 6 | |
save() | 67 | 2 | 8 | |
is_processing() | 71 | 2 | 6 | |
completed() | 80 | 1 | 3 | |
complete() | 74 | 1 | 5 | |
cancel_process() | 82 | 1 | 3 | |
get_batch() | 68 | 1 | 9 | |
__construct() | 67 | 1 | 7 | |
unlock_process() | 76 | 1 | 4 | |
is_process_running() | 81 | 1 | 3 | |
is_queue_empty() | 80 | 1 | 3 | |
get_status_key() | 80 | 1 | 3 | |
generate_key() | 71 | 1 | 5 | |
is_queued() | 80 | 1 | 3 | |
resumed() | 80 | 1 | 3 | |
resume() | 72 | 1 | 6 | |
paused() | 80 | 1 | 3 | |
pause() | 80 | 1 | 3 | |
cancelled() | 80 | 1 | 3 | |
cancel() | 76 | 1 | 4 | |
delete() | 77 | 1 | 4 | |
push_to_queue() | 76 | 1 | 4 | |
task() | 100 | 1 | 0 |